#include<iostream>
#include<thread>
#include<future>

int func019() {
	int i = 0;
	for (int j = 0; j < 1000; j++)
	{
		i++;
	}
	return i;
}

int main019() {
	std::future<int> futureResult =  std::async(std::launch::async, func019);
	std::cout << futureResult.get() << std::endl;
	return 0;
}